/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 支付方式Entity
 * @author sld
 * @version 2017-11-29
 */
public class PaymentWay extends DataEntity<PaymentWay> {
	
	private static final long serialVersionUID = 1L;
	private Imprest imprest;		// 备用金 父
	private String paymentsWays;		// 支付方式
	private String money;		// 金额
	private String name;		// 名称
	private String number;		// 号码
	private String otherInformation;		// 其他信息
	private Date receivedDate;		// 到账日期
	
	public PaymentWay() {
		super();
	}

	public PaymentWay(String id){
		super(id);
	}

	public PaymentWay(Imprest imprest){
		this.imprest = imprest;
	}

	public Imprest getImprest() {
		return imprest;
	}

	public void setImprest(Imprest imprest) {
		this.imprest = imprest;
	}
	
	@ExcelField(title="支付方式", align=2, sort=7)
	public String getPaymentsWays() {
		return paymentsWays;
	}

	public void setPaymentsWays(String paymentsWays) {
		this.paymentsWays = paymentsWays;
	}
	
	@ExcelField(title="金额", align=2, sort=8)
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
	@ExcelField(title="名称", align=2, sort=9)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="号码", align=2, sort=10)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="其他信息", align=2, sort=11)
	public String getOtherInformation() {
		return otherInformation;
	}

	public void setOtherInformation(String otherInformation) {
		this.otherInformation = otherInformation;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="到账日期", align=2, sort=12)
	public Date getReceivedDate() {
		return receivedDate;
	}

	public void setReceivedDate(Date receivedDate) {
		this.receivedDate = receivedDate;
	}
	
}